package com.example.algorithm.stack;

import com.example.algorithm.stach.ArrayStack;
import com.example.algorithm.stach.Stack;

public class ArrayStackMain {

    public static void main(String[] args) {
        Stack<Integer> stack = new ArrayStack<>();
        for (int i = 0; i < 5; i++) {
            stack.push(i);
            System.out.println(stack);
        }
    }
}
